home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!marnold
- From: marnold@netcom.com (Matt Arnold)
- Subject: Re: BC++4.52 executale size
- Message-ID: <marnoldDLs8JJ.4DJ@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- References: <4e9o17$pmv@serv.hinet.net>
- Date: Fri, 26 Jan 1996 09:47:42 GMT
- Sender: marnold@netcom20.netcom.com
-
- young@hntp2.hinet.net (young) writes:
-
-
-
-
- >Two programs that do essentially the same thing,
- >with one made by BC++4.52 and the other made
- >by BC++3.1, have very different executable size.
- >
- >The one made by BC++4.52 has more than double the
- >size as the one made by BC++3.1. An About-dialog
- >class which includes <owl\dialog.h> and <owl\edit.h>
- >has a compiled object of 150,225 Bytes. It only
- >shows the version number and four copyright lines.
- >
- >Is this "normal" with BC++4.52, or, am I missing
- >something?
- >
-
- Did you compile with "debug info" on or off? Often times, with
- modern C++ compilers, the debug information (embedded in the
- executable file) can be larger than the actual program. Try
- again with debug info off (or use the TDSTRIP.EXE utility on your
- current .EXE).
-
- You might also try fiddling with some of the optimization options.
-
- Regards,
- -------------------------------------------------------------------------
- Matt Arnold | | ||| | |||| | | | || ||
- marnold@netcom.com | | ||| | |||| | | | || ||
- Boston, MA | 0 | ||| | |||| | | | || ||
- 617.389.7384 (h) 617.576.2760 (w) | | ||| | |||| | | | || ||
- C++, MIDI, Win32/95 developer | | ||| 4 3 1 0 8 3 || ||
- -------------------------------------------------------------------------
-